package com.prs.crm.cqunicom;

import com.prs.crm.domain.cqunicom.LogSerch;
import com.prs.crm.service.cqunicom.LogSerchService;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2011-3-2 下午05:42:47
 * 简单说明
 */

public class  LogsaveImpl implements Logsave {
	
	private LogSerchService logSerchService;

	@Override
	public  synchronized  void  saveLogs(String person, String contents) {     		
		LogSerch  LS=new LogSerch();
		LS.setCandlePeron(person);
		LS.setCandleContents(contents);
		this.getLogSerchService().save(LS);
	}

	public LogSerchService getLogSerchService() {
		return logSerchService;
	}

	public void setLogSerchService(LogSerchService logSerchService) {
		this.logSerchService = logSerchService;
	}

}
